package cn.asiainfo.apportion.po;

import java.util.ArrayList;
import java.util.List;

public class AssignStatementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AssignStatementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOperationIdIsNull() {
            addCriterion("OPERATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOperationIdIsNotNull() {
            addCriterion("OPERATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOperationIdEqualTo(Integer value) {
            addCriterion("OPERATION_ID =", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdNotEqualTo(Integer value) {
            addCriterion("OPERATION_ID <>", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdGreaterThan(Integer value) {
            addCriterion("OPERATION_ID >", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("OPERATION_ID >=", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdLessThan(Integer value) {
            addCriterion("OPERATION_ID <", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdLessThanOrEqualTo(Integer value) {
            addCriterion("OPERATION_ID <=", value, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdIn(List<Integer> values) {
            addCriterion("OPERATION_ID in", values, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdNotIn(List<Integer> values) {
            addCriterion("OPERATION_ID not in", values, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdBetween(Integer value1, Integer value2) {
            addCriterion("OPERATION_ID between", value1, value2, "operationId");
            return (Criteria) this;
        }

        public Criteria andOperationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("OPERATION_ID not between", value1, value2, "operationId");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIsNull() {
            addCriterion("STATEMENT_SEQ is null");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIsNotNull() {
            addCriterion("STATEMENT_SEQ is not null");
            return (Criteria) this;
        }

        public Criteria andStatementSeqEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ =", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ <>", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqGreaterThan(Integer value) {
            addCriterion("STATEMENT_SEQ >", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ >=", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqLessThan(Integer value) {
            addCriterion("STATEMENT_SEQ <", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqLessThanOrEqualTo(Integer value) {
            addCriterion("STATEMENT_SEQ <=", value, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqIn(List<Integer> values) {
            addCriterion("STATEMENT_SEQ in", values, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotIn(List<Integer> values) {
            addCriterion("STATEMENT_SEQ not in", values, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqBetween(Integer value1, Integer value2) {
            addCriterion("STATEMENT_SEQ between", value1, value2, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andStatementSeqNotBetween(Integer value1, Integer value2) {
            addCriterion("STATEMENT_SEQ not between", value1, value2, "statementSeq");
            return (Criteria) this;
        }

        public Criteria andResultNameIsNull() {
            addCriterion("RESULT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andResultNameIsNotNull() {
            addCriterion("RESULT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andResultNameEqualTo(String value) {
            addCriterion("RESULT_NAME =", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameNotEqualTo(String value) {
            addCriterion("RESULT_NAME <>", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameGreaterThan(String value) {
            addCriterion("RESULT_NAME >", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameGreaterThanOrEqualTo(String value) {
            addCriterion("RESULT_NAME >=", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameLessThan(String value) {
            addCriterion("RESULT_NAME <", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameLessThanOrEqualTo(String value) {
            addCriterion("RESULT_NAME <=", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameLike(String value) {
            addCriterion("RESULT_NAME like", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameNotLike(String value) {
            addCriterion("RESULT_NAME not like", value, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameIn(List<String> values) {
            addCriterion("RESULT_NAME in", values, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameNotIn(List<String> values) {
            addCriterion("RESULT_NAME not in", values, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameBetween(String value1, String value2) {
            addCriterion("RESULT_NAME between", value1, value2, "resultName");
            return (Criteria) this;
        }

        public Criteria andResultNameNotBetween(String value1, String value2) {
            addCriterion("RESULT_NAME not between", value1, value2, "resultName");
            return (Criteria) this;
        }

        public Criteria andFunctionIsNull() {
            addCriterion("FUNCTION is null");
            return (Criteria) this;
        }

        public Criteria andFunctionIsNotNull() {
            addCriterion("FUNCTION is not null");
            return (Criteria) this;
        }

        public Criteria andFunctionEqualTo(Short value) {
            addCriterion("FUNCTION =", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionNotEqualTo(Short value) {
            addCriterion("FUNCTION <>", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionGreaterThan(Short value) {
            addCriterion("FUNCTION >", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionGreaterThanOrEqualTo(Short value) {
            addCriterion("FUNCTION >=", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionLessThan(Short value) {
            addCriterion("FUNCTION <", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionLessThanOrEqualTo(Short value) {
            addCriterion("FUNCTION <=", value, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionIn(List<Short> values) {
            addCriterion("FUNCTION in", values, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionNotIn(List<Short> values) {
            addCriterion("FUNCTION not in", values, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionBetween(Short value1, Short value2) {
            addCriterion("FUNCTION between", value1, value2, "function");
            return (Criteria) this;
        }

        public Criteria andFunctionNotBetween(Short value1, Short value2) {
            addCriterion("FUNCTION not between", value1, value2, "function");
            return (Criteria) this;
        }

        public Criteria andParam1IdIsNull() {
            addCriterion("PARAM1_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam1IdIsNotNull() {
            addCriterion("PARAM1_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam1IdEqualTo(String value) {
            addCriterion("PARAM1_ID =", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotEqualTo(String value) {
            addCriterion("PARAM1_ID <>", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdGreaterThan(String value) {
            addCriterion("PARAM1_ID >", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM1_ID >=", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLessThan(String value) {
            addCriterion("PARAM1_ID <", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM1_ID <=", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdLike(String value) {
            addCriterion("PARAM1_ID like", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotLike(String value) {
            addCriterion("PARAM1_ID not like", value, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdIn(List<String> values) {
            addCriterion("PARAM1_ID in", values, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotIn(List<String> values) {
            addCriterion("PARAM1_ID not in", values, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdBetween(String value1, String value2) {
            addCriterion("PARAM1_ID between", value1, value2, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IdNotBetween(String value1, String value2) {
            addCriterion("PARAM1_ID not between", value1, value2, "param1Id");
            return (Criteria) this;
        }

        public Criteria andParam1IsNull() {
            addCriterion("PARAM1 is null");
            return (Criteria) this;
        }

        public Criteria andParam1IsNotNull() {
            addCriterion("PARAM1 is not null");
            return (Criteria) this;
        }

        public Criteria andParam1EqualTo(String value) {
            addCriterion("PARAM1 =", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotEqualTo(String value) {
            addCriterion("PARAM1 <>", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThan(String value) {
            addCriterion("PARAM1 >", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1GreaterThanOrEqualTo(String value) {
            addCriterion("PARAM1 >=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThan(String value) {
            addCriterion("PARAM1 <", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1LessThanOrEqualTo(String value) {
            addCriterion("PARAM1 <=", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Like(String value) {
            addCriterion("PARAM1 like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotLike(String value) {
            addCriterion("PARAM1 not like", value, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1In(List<String> values) {
            addCriterion("PARAM1 in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotIn(List<String> values) {
            addCriterion("PARAM1 not in", values, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1Between(String value1, String value2) {
            addCriterion("PARAM1 between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam1NotBetween(String value1, String value2) {
            addCriterion("PARAM1 not between", value1, value2, "param1");
            return (Criteria) this;
        }

        public Criteria andParam2IdIsNull() {
            addCriterion("PARAM2_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam2IdIsNotNull() {
            addCriterion("PARAM2_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam2IdEqualTo(String value) {
            addCriterion("PARAM2_ID =", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotEqualTo(String value) {
            addCriterion("PARAM2_ID <>", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdGreaterThan(String value) {
            addCriterion("PARAM2_ID >", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM2_ID >=", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLessThan(String value) {
            addCriterion("PARAM2_ID <", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM2_ID <=", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdLike(String value) {
            addCriterion("PARAM2_ID like", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotLike(String value) {
            addCriterion("PARAM2_ID not like", value, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdIn(List<String> values) {
            addCriterion("PARAM2_ID in", values, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotIn(List<String> values) {
            addCriterion("PARAM2_ID not in", values, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdBetween(String value1, String value2) {
            addCriterion("PARAM2_ID between", value1, value2, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IdNotBetween(String value1, String value2) {
            addCriterion("PARAM2_ID not between", value1, value2, "param2Id");
            return (Criteria) this;
        }

        public Criteria andParam2IsNull() {
            addCriterion("PARAM2 is null");
            return (Criteria) this;
        }

        public Criteria andParam2IsNotNull() {
            addCriterion("PARAM2 is not null");
            return (Criteria) this;
        }

        public Criteria andParam2EqualTo(String value) {
            addCriterion("PARAM2 =", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotEqualTo(String value) {
            addCriterion("PARAM2 <>", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThan(String value) {
            addCriterion("PARAM2 >", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2GreaterThanOrEqualTo(String value) {
            addCriterion("PARAM2 >=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThan(String value) {
            addCriterion("PARAM2 <", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2LessThanOrEqualTo(String value) {
            addCriterion("PARAM2 <=", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Like(String value) {
            addCriterion("PARAM2 like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotLike(String value) {
            addCriterion("PARAM2 not like", value, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2In(List<String> values) {
            addCriterion("PARAM2 in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotIn(List<String> values) {
            addCriterion("PARAM2 not in", values, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2Between(String value1, String value2) {
            addCriterion("PARAM2 between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam2NotBetween(String value1, String value2) {
            addCriterion("PARAM2 not between", value1, value2, "param2");
            return (Criteria) this;
        }

        public Criteria andParam3IdIsNull() {
            addCriterion("PARAM3_ID is null");
            return (Criteria) this;
        }

        public Criteria andParam3IdIsNotNull() {
            addCriterion("PARAM3_ID is not null");
            return (Criteria) this;
        }

        public Criteria andParam3IdEqualTo(String value) {
            addCriterion("PARAM3_ID =", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotEqualTo(String value) {
            addCriterion("PARAM3_ID <>", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdGreaterThan(String value) {
            addCriterion("PARAM3_ID >", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdGreaterThanOrEqualTo(String value) {
            addCriterion("PARAM3_ID >=", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLessThan(String value) {
            addCriterion("PARAM3_ID <", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLessThanOrEqualTo(String value) {
            addCriterion("PARAM3_ID <=", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdLike(String value) {
            addCriterion("PARAM3_ID like", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotLike(String value) {
            addCriterion("PARAM3_ID not like", value, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdIn(List<String> values) {
            addCriterion("PARAM3_ID in", values, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotIn(List<String> values) {
            addCriterion("PARAM3_ID not in", values, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdBetween(String value1, String value2) {
            addCriterion("PARAM3_ID between", value1, value2, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IdNotBetween(String value1, String value2) {
            addCriterion("PARAM3_ID not between", value1, value2, "param3Id");
            return (Criteria) this;
        }

        public Criteria andParam3IsNull() {
            addCriterion("PARAM3 is null");
            return (Criteria) this;
        }

        public Criteria andParam3IsNotNull() {
            addCriterion("PARAM3 is not null");
            return (Criteria) this;
        }

        public Criteria andParam3EqualTo(String value) {
            addCriterion("PARAM3 =", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotEqualTo(String value) {
            addCriterion("PARAM3 <>", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThan(String value) {
            addCriterion("PARAM3 >", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3GreaterThanOrEqualTo(String value) {
            addCriterion("PARAM3 >=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThan(String value) {
            addCriterion("PARAM3 <", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3LessThanOrEqualTo(String value) {
            addCriterion("PARAM3 <=", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3Like(String value) {
            addCriterion("PARAM3 like", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotLike(String value) {
            addCriterion("PARAM3 not like", value, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3In(List<String> values) {
            addCriterion("PARAM3 in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotIn(List<String> values) {
            addCriterion("PARAM3 not in", values, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3Between(String value1, String value2) {
            addCriterion("PARAM3 between", value1, value2, "param3");
            return (Criteria) this;
        }

        public Criteria andParam3NotBetween(String value1, String value2) {
            addCriterion("PARAM3 not between", value1, value2, "param3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}